x11: Emit GdkDisplay::setting-changed
authorMatthias Clasen <mclasen@redhat.com>
Mon, 30 Oct 2017 13:03:25 +0000 (09:03 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 30 Oct 2017 13:29:09 +0000 (09:29 -0400)
We still generate the event too.
That will be removed in a future commit.

gdk/x11/xsettings-client.c

index 44aa4debd59313b6deccca0efcc999b5f0b25813..88ad15a471c6430113ecd7c5dd55ae03d2ef5d09 100644 (file)
@@ -78,6 +78,8 @@ gdk_xsettings_notify (GdkX11Screen     *x11_screen,
   new_event.setting.name = (char*) name;
 
   gdk_event_put (&new_event);
+
+  gdk_display_setting_changed (gdk_screen_get_display (GDK_SCREEN (x11_screen)), name);
 }
 
 static gboolean